package ru.aptu.gsp_banking.dao;

import ru.aptu.gsp_banking.domain.Transaction;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: alex
 * Date: 11/23/11
 * Time: 6:00 PM
 * To change this template use File | Settings | File Templates.
 */
public interface TransactionDAO {

	public List<Transaction> listTransaction(Integer accountId);

    public boolean checkTransaction(Integer transactionId, String name);

    public void saveTransaction(Transaction transaction);

    public void deleteTransaction(Transaction transaction);
}
